﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _03.装饰者模式
{
    public class Product
    {
        protected Product() { }

        public Product(string productName, decimal price)
        {
            this.ProductName = productName;
            this.Price = price;
        }
        public long Id { get; set; }

        public string ProductName { get; set; }

        public decimal Price { get; set; }
    }
}
